#!/usr/bin/env ruby

#
# Created by UNA CDE.
# User: admin
# Date: Feb 4, 2009
# Time: 8:19:56 PM
#
# To change this template use Preferences | File Templates.
#

require File.dirname(__FILE__) + '/document'

class FileBasedDocument < Document
  attr_reader :filename  
    
  def initialize(filename)
    content = File.read(filename)
     
    @filename = filename
    
    super(content)
  end
  
end